Example: Building Automation: Persistence
Product:CODESYS Building Automation Library
The Building Automation Persistence.project
example shows how to handle optional persistence in building automation applications. For this purpose, function blocks are used which are generated with the CODESYS Application Composer as well as the functionality of the CODESYS Building Automation library.
Description
The sample project contains two function blocks with optional persistence so that they can save their "operating time" via a PLC restart. The PersistenceConfig module is used for persistence configuration.
For a more detailed description of the sample application, see the comments in the function block implementations in the project. The background and handling of the example are explained in the PLC_PRG
program. In addition, the documentation for the CODESYS Building Automation library which is available in the Library Manager provides detailed information about "persistence as an option".
System requirements and restrictions
Programming system | CODESYS Development System (version 3.5.16.0 or higher) |
Runtime system | CODESYS Control Win (version 3.5.16.0 or higher) |
Add-on components | - |
Note
After installing the CODESYS Building Automation package, the project is located in the user directory in the subdirectory
CODESYS Building Automation\<version>\Projects
.